package com.lzy.constant;

/**
 * @author lyw
 * @Date 2023/2/1-下午4:36
 */

public class UserConstant {

  public static final String TOKEN_PREFIX = "Bearer ";
  public static final String TOKEN_HEADER = "Authorization";
  /**
   * token redis key
   */
  public static final String LOGIN_USER_TOKEN_KEY = "login_user_tokens:";
  public static final String USER_ID = "userId";
  /**
   * 登录用户 redis key
   */
  public static final String LOGIN_TOKEN_KEY = "login_tokens:";

  public static final String REFRESH_URI = "/refreshToken";

  public static final String MENU_KEY = "login_user_menus:";

  public static final Integer MENU_EXPIRED = 30;
}
